//
//  LBCWebViewController.m
//  LifeEnjoy
//
//  Created by 刘表聪 on 15/9/11.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "LBCWebViewController.h"

@interface LBCWebViewController ()

@property (nonatomic, strong) UIWebView *webView;


@end

@implementation LBCWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.leftBarButtonItem.style = UIBarButtonSystemItemCompose;
    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight)];
    self.webView.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:_webView];
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_htmlStr]]];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
